//
//  City.m
//  GoodWayClient
//
//  Created by HuiDong on 15/12/22.
//  Copyright © 2015年 HuiDong. All rights reserved.
//

#import "City.h"

@implementation City

+ (instancetype)cityWithDic:(NSDictionary *)dic
{
    return [[self alloc] initWithDic:dic];
}
- (instancetype)initWithDic:(NSDictionary *)dic
{
    if (self = [super init]) {
        self.CityId = (int)dic[@"Id"];
        self.CityName = dic[@"CityName"];
    }
    return self;
}

@end
